package com.zgroup.controllers.admin

import com.zgroup.domain.SysUser;

class FrameController extends AdminDispatchController {

  def beforeInterceptor = [
          action: this.&auth,
          except: ['topframe', 'switchframe', 'mainframe']
  ]

  def auth() {
    return super.auth()
  }

  def index = {}
  def topframe = {}
  def leftframe = {
    def sysUser = request[SysUser.REQUEST_USER_INFO]
    [permission: sysUser.permission]

  }
  def columnframe = {}
  def switchframe = {}
  def mainframe = {}
}
